package com.nut.lmsc.service;

import com.nut.lmsc.common.Result;
import com.nut.lmsc.entity.OrderGoods;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

public interface OrderGoodsService {

//    Result<List<OrderGoods>> selectByOrderId(Long orderId);

    Result<OrderGoods> getById(Serializable id);

    Result add(OrderGoods orderGoods);

    Result updateById(OrderGoods orderGoods);

    Result deleteByIds(Set<Integer> ids);

}